package com.cloudbroker.bcs.platform.ltb.bizapi.service.user.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.common.validatioin.annotation.NotNull;
import com.cloudbroker.bcs.platform.ltb.bizapi.constants.type.UserType;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.BrokerVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.UserVO;

/**
 * Created by zhaosh19213 on 2016/10/26.
 */
public class XiNanUserLoginForm extends UserVO {

    @NotBlank
    protected String company_id;             //券商机构编号
    @NotBlank
    protected String sendercomp_id;          //发送券商机编号

    @NotNull
    @EnumValue(enumClass = UserType.class)
    protected String user_type;

    @NotBlank
    protected String user_name;

    @NotBlank
    protected String temp_token;

    @Length(max = 50)
    protected String open_id;

    @NotBlank
    //后续扩展参数 登录方式
    protected String login_way;

    protected String nickname;

    protected String headimgurl;

    protected String sex;

    public String getTemp_token() {
        return temp_token;
    }

    public void setTemp_token(String temp_token) {
        this.temp_token = temp_token;
    }

    @Override
    public String getUser_name() {
        return user_name;
    }

    @Override
    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    @Override
    public String getCompany_id() {
        return company_id;
    }

    @Override
    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }

    @Override
    public String getSendercomp_id() {
        return sendercomp_id;
    }

    @Override
    public void setSendercomp_id(String sendercomp_id) {
        this.sendercomp_id = sendercomp_id;
    }

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public String getLogin_way() {
        return login_way;
    }

    public void setLogin_way(String login_way) {
        this.login_way = login_way;
    }

    public String getOpen_id() {
        return open_id;
    }

    public void setOpen_id(String open_id) {
        this.open_id = open_id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
